<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
	<script type="text/javascript" src="/deng/include/include-css.js"></script>
	<title>角色模块编辑页面</title>
</head>
<body>
	<div class="m-portlet">
		<div class="m-portlet__head">
			<div class="m-portlet__head-caption">
				<div class="m-portlet__head-title">
					<span class="m-portlet__head-icon m--hide">
						<i class="la la-gear"></i>
					</span>
					<h3 class="m-portlet__head-text">
						编辑角色
					</h3>
				</div>
			</div>
		</div>
		<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultForm" method="post">
			<div class="m-portlet__body">
				<div class="form-group" style="display:none;">
					<label class="col-lg-1 col-form-label">角色权限id</label>
					<div class="col-lg-6">
						<input class="form-control" type="hidden" name="role_id" id='role_id' placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 col-form-label">名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称</label>
					<div class="col-lg-3">
						<input class="form-control" type="text" maxlength="100"  data-bv-notempty data-bv-notempty-message="请输入" id="role_name" name="role_name" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 col-form-label">编&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码</label>
					<div class="col-lg-3">
						<input class="form-control" type="text" maxlength="20" id="r_code" data-bv-notempty data-bv-notempty-message="请输入"  name="r_code" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 col-form-label">角色描述</label>
					<div class="col-lg-6">
						<textarea class="form-control" type="text" maxlength="200" id="role_desc" name="role_desc" placeholder="请输入"></textarea>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 col-form-label">类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型</label>
					<div class="col-lg-3">
						<select class="form-control" name="role_type" id="role_type" >
							<option value="">---请选择---</option>
							<option value="0">平台权限</option>
							<option value="1">业务权限</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 col-form-label">授权平台</label>
					<div class="col-lg-3">
						<select class="form-control"  data-bv-notempty data-bv-notempty-message="请选择"  id="sysmode_id" name="sysmode_id">
						</select>
					</div>
				</div>
			</div>
			<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
				<div class="m-form__actions m-form__actions--solid">
					<div class="form-group m-form__group row">
						<div class="col m--align-left">
							<a class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" href="javascript:updateOauthRole()">保存</a>
							<a class="btn btn-secondary m-btn m-btn--custom m-btn--icon" href="javascript:goback()">返回</a>
						</div>
						<div class="col m--align-right">
							<a class="btn btn-secondary m-btn m-btn--custom m-btn--icon" href="javascript:resetAll('defaultForm')"><span><i class="fa fa-repeat"></i><span>重置</span></span></a>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/view/oauth/oauth-role/oauth-role-update.js"></script>
</html>
